<?php
$date = array(

		'name'=>'zhangsan',
		'age'=>'28'

		);
	


$db = require 'db1.php';

$db[] = $date;

$add_re = "<?php \n return ".var_export($db,true)."; ?>";

file_put_contents('db1.php', $add_re);


?>